package com.example.design.patterns.冰河.结构型模式.桥接模式;

import com.example.design.patterns.冰河.结构型模式.桥接模式.concreteImplementor.Jacket;
import com.example.design.patterns.冰河.结构型模式.桥接模式.concreteImplementor.Trouser;
import com.example.design.patterns.冰河.结构型模式.桥接模式.refinedAbstraction.Lady;
import com.example.design.patterns.冰河.结构型模式.桥接模式.refinedAbstraction.Man;

public class Test {
    public static void main(String[] args) {
        Man man = new Man();
        Lady lady = new Lady();
        Jacket jacket = new Jacket();
        Trouser trouser = new Trouser();

        jacket.personDressCloth(man);
        trouser.personDressCloth(man);

        jacket.personDressCloth(lady);
        trouser.personDressCloth(lady);
    }
}
